package com.rimi.mapper;

import com.rimi.bean.Code;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * @author liHaiYang
 * @version V1.0
 * @Description: (用一句话描述该文件做什么)
 * @date 2021/7/8 10:01
 */
public interface CodeMapper {
    int addCode(Code code1);

    Code findCodeByCodeAndPhoneNumber(@Param("code") String code, @Param("phoneNumber") String phoneNumber, @Param("date") Date date);
}
